getVerticalAxisLabel
Obtain a label to use on a vertical axis of a plot.
Contents
Syntax
Y = getVerticalAxisLabel(X)
Description
getVerticalAxisLabel(X) returns a suitable label for the vertical axis on a plot based on the unit X which should be one of the following:
- A - amps
- mV - millivolts
- V - volts
Example
X = 'V';
Y = getVerticalAxisLabel(X)
Y =
'Voltage (V)'
Input Arguments
- X - the unit to be used.
Output Arguments
- Y - a label based on the specified input.
Copyright: © 2019 Pico Technology Ltd. All rights reserved.